<?php defined('SYSPATH') or die('No direct script access.');
require ('application/classes/dao/base.php');

class Controller_index extends Controller {


    public function action_home()
    {
        print_r(Session::instance('database')->as_array());
       echo count( Session::instance('database')->read());
        echo View::factory('web/home' );
    }

    public function action_404(){
    	echo 11111;
    	die;
    	echo View::factory('web/404' );
    }
}